﻿using Abp.Runtime.Validation;
using Camc.Quality.Dto;
using System.Collections.Generic;

namespace Camc.Quality.WorkFlow
{
     public class GetApprovalInputDto : PagedAndSortedInputDto, IShouldNormalize
    {
        /// <summary>
        /// 为空则查询全部
        /// </summary>
        public List<string> userNameList { get; set; }

        public List<int> bappTypeList { get; set; }


        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }
    }
}
